package com.ruoyi.ds.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目跟踪对象 ds_project
 * 
 * @author miki
 * @date 2025-04-27
 */
public class DsProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键ID */
    private Long id;

    /** 项目号 */
    @Excel(name = "项目号")
    private String projectNo;

    /** 项目负责人 */
    @Excel(name = "项目负责人")
    private String projectManager;

    /** 尾款情况 */
    @Excel(name = "尾款情况")
    private String paymentStatus;

    /** 产品型号 */
    @Excel(name = "产品型号")
    private String productModel;

    /** 预计到货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计到货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expectedArrivalDate;

    /** 实际到货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际到货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date actualArrivalDate;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 是否完成 */
    @Excel(name = "是否完成")
    private Boolean isCompleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProjectNo(String projectNo) 
    {
        this.projectNo = projectNo;
    }

    public String getProjectNo() 
    {
        return projectNo;
    }
    public void setProjectManager(String projectManager) 
    {
        this.projectManager = projectManager;
    }

    public String getProjectManager() 
    {
        return projectManager;
    }

    public String getPaymentStatus() 
    {
        return paymentStatus;
    }

    public void setPaymentStatus(String paymentStatus) 
    {
        this.paymentStatus = paymentStatus;
    }

    public void setProductModel(String productModel) 
    {
        this.productModel = productModel;
    }

    public String getProductModel() 
    {
        return productModel;
    }
    public void setExpectedArrivalDate(Date expectedArrivalDate) 
    {
        this.expectedArrivalDate = expectedArrivalDate;
    }

    public Date getExpectedArrivalDate() 
    {
        return expectedArrivalDate;
    }
    public void setActualArrivalDate(Date actualArrivalDate) 
    {
        this.actualArrivalDate = actualArrivalDate;
    }

    public Date getActualArrivalDate() 
    {
        return actualArrivalDate;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    public Boolean getIsCompleted() {
        return isCompleted;
    }

    public void setIsCompleted(Boolean isCompleted) {
        this.isCompleted = isCompleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectNo", getProjectNo())
            .append("projectManager", getProjectManager())
            .append("paymentStatus", getPaymentStatus())
            .append("productModel", getProductModel())
            .append("expectedArrivalDate", getExpectedArrivalDate())
            .append("actualArrivalDate", getActualArrivalDate())
            .append("remarks", getRemarks())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
